package com.leijingqi.service;

import com.leijingqi.pojo.Emp;
import com.leijingqi.pojo.PageBean;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

/**
 * 员工管理
 */
public interface EmpService {
    PageBean page(Integer page, Integer pageSize,  String name, Short gender, LocalDate begin,LocalDate end);

    void delete(List<Integer> ids);

    void save(Emp emp);

    Emp searchID(Integer id);

    void updateUser(Emp emp);

    Emp login(Emp emp);

}
